<?php

/* @var $_this View */
/* @var $form FormHelper */
/* @var $editForm EditFormHelper */
/* @var $html HtmlHelper */
/* @var $ehtml EHtmlHelper */
/* @var $javascript JavascriptHelper */
/* @var $jqax JqaxHelper */
/* @var $filterBlock FilterBlock */

nodebug();

?><?=$content_for_layout;?><?php

if (Configure::read('debug')) {
    global $request_time, $pre_render_time, $filter_time, $prepare_time;
    $this_time = microtime(true);
    $render_time = $this_time - $pre_render_time;
    $total_time = $this_time - $request_time;
    $prepare_time_str = number_format(($prepare_time), 3, ',', ' ');
    header("X-Render-Time-Prepare: \" ".intval($prepare_time*100/$total_time)."% {$prepare_time_str} s\"");
    $filter_time_str = number_format(($filter_time), 3, ',', ' ');
    header("X-Render-Time-Filter: \" ".intval($filter_time*100/$total_time)."% {$filter_time_str} s\"");
    $render_time_str = number_format(($render_time), 3, ',', ' ');
    header("X-Render-Time-Render: \" ".intval($render_time*100/$total_time)."% {$render_time_str} s\"");
    $total_time_str = number_format(($total_time), 3, ',', ' ');
    header("X-Render-Time: \"100% {$total_time_str} s\"");
}

?>